Visual Basic (Declaration) | |
---|---|
Public Overloads Sub GetCredentialAsync( _ ByVal credentialRequestInfos As IdentityManager.CredentialRequestInfos, _ ByVal retry As Boolean, _ ByVal callback As Action(Of IdentityManager.Credential,Exception), _ Optional ByVal generateTokenOptions As IdentityManager.GenerateTokenOptions _ ) |
C# | |
---|---|
public void GetCredentialAsync( IdentityManager.CredentialRequestInfos credentialRequestInfos, bool retry, Action<IdentityManager.Credential,Exception> callback, IdentityManager.GenerateTokenOptions generateTokenOptions ) |
Parameters
- credentialRequestInfos
- The information about the credential to get.
- retry
- Indicates if the method should make additional attempts to get the credentials after a failure (i.e. if true, the challenge method will be called in any case)
- callback
- The method called when the process getting a credential object is complete.
- generateTokenOptions
- The optional infos concerning the credential to generate (referer, proxyURL).
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8